package com.qidianit.mes.production.mapper;

import com.qidianit.common.pojo.MESResult;
import com.qidianit.mes.pojo.Material;
import com.qidianit.mes.pojo.WorkmanshipMaterial;

import java.util.List;

/**
 * @Author djl
 * @Time 2024/10/22 20:11
 */
public interface WorkmanshipMaterialMapper {
    List<WorkmanshipMaterial> list(WorkmanshipMaterial workmanshipMaterial);

    WorkmanshipMaterial queryByMaterialId(Integer materialId);

    Integer add(WorkmanshipMaterial workmanshipMaterial);

    WorkmanshipMaterial listByIdAndCode(WorkmanshipMaterial workmanshipMaterial);


    Integer edit(WorkmanshipMaterial workmanshipMaterial);
}
